class User < ActiveRecord::Base

  # validates :email, presence: true, length: { maximum: 30  }
  # validates :encrypted_password, presence: true,length: { maximum: 20 }

  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :validatable, :lockable
end
